import requests
url = 'http://api.tianapi.com'

param = {
    'key': 'cdcc53b39a261818507941f17e61c499'
}
req = requests.post(url + "/caihongpi/index", param)
result = req.json()
if result.get("code") == 200:
    print(result.get("newslist")[0].get("content"))
# print(req.json())

req2 = requests.post(url + "/ensentence/index", param)
result2 = req2.json()
if result2.get("code") == 200:
    print(result2.get("newslist")[0].get("en"))
    print(result2.get("newslist")[0].get("zh"))